Optimal. Leaf size=85 \[ \frac {b (a+b x)^{n+1} (c+d x)^p \left (\frac {b (c+d x)}{b c-a d}\right )^{-p} F_1\left (n+1;-p,2;n+2;-\frac {d (a+b x)}{b c-a d},\frac {a+b x}{a}\right )}{a^2 (n+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 85, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {137, 136} \[ \frac {b (a+b x)^{n+1} (c+d x)^p \left (\frac {b (c+d x)}{b c-a d}\right )^{-p} F_1\left (n+1;-p,2;n+2;-\frac {d (a+b x)}{b c-a d},\frac {a+b x}{a}\right )}{a^2 (n+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 136
Rule 137
Rubi steps
\begin {align*} \int \frac {(a+b x)^n (c+d x)^p}{x^2} \, dx &=\left ((c+d x)^p \left (\frac {b (c+d x)}{b c-a d}\right )^{-p}\right ) \int \frac {(a+b x)^n \left (\frac {b c}{b c-a d}+\frac {b d x}{b c-a d}\right )^p}{x^2} \, dx\\ &=\frac {b (a+b x)^{1+n} (c+d x)^p \left (\frac {b (c+d x)}{b c-a d}\right )^{-p} F_1\left (1+n;-p,2;2+n;-\frac {d (a+b x)}{b c-a d},\frac {a+b x}{a}\right )}{a^2 (1+n)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.06, size = 93, normalized size = 1.09 \[ \frac {\left (\frac {a}{b x}+1\right )^{-n} (a+b x)^n \left (\frac {c}{d x}+1\right )^{-p} (c+d x)^p F_1\left (-n-p+1;-n,-p;-n-p+2;-\frac {a}{b x},-\frac {c}{d x}\right )}{x (n+p-1)} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.96, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {{\left (b x + a\right )}^{n} {\left (d x + c\right )}^{p}}{x^{2}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (b x + a\right )}^{n} {\left (d x + c\right )}^{p}}{x^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.14, size = 0, normalized size = 0.00 \[ \int \frac {\left (b x +a \right )^{n} \left (d x +c \right )^{p}}{x^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (b x + a\right )}^{n} {\left (d x + c\right )}^{p}}{x^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\left (a+b\,x\right )}^n\,{\left (c+d\,x\right )}^p}{x^2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (a + b x\right )^{n} \left (c + d x\right )^{p}}{x^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________